package com.babymall.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.babymall.dao.IAdminDao;
import com.babymall.model.Admin;

@Service
public class AdminService implements IAdminService {
	
	@Resource
	private IAdminDao adminDao;

	@Override
	public Admin login(Admin admin) {
		return adminDao.login(admin);
	}

}
